package com.woniu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.woniu.pojo.Article;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 文章表 Mapper 接口
 * </p>
 *
 * @author doujiao
 * @since 2022-10-11
 */
public interface ArticleMapper extends BaseMapper<Article> {

    @Select("select max(sort) from tb_article")
    Integer selectMaxSortByCourseId();

}
